﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_Flow_DeleteFile]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_Flow_DeleteFile];
GO
CREATE PROCEDURE [dbo].[sproc_Flow_DeleteFile]
    @DocID int
AS 
DELETE FROM 
        uds_flow_files
        WHERE docid = @DocID